﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProfileUsers.aspx.cs" Inherits="Admin_liutao_ProfileUsers" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>用户管理</title>

		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../Admin.css" type="text/css" rel="stylesheet">
		<script type="text/javascript" src="../setday/JScript.js"></script>
	</HEAD>
	<BODY>

		<form id="Form1" method="post" runat="server">
			<table class="tableBorder" id="table2" height="127" cellSpacing="1" cellPadding="3" align="center"
				border="0">
				<tr>
					<th id="tabletitlelink" style="FONT-WEIGHT: bold; FONT-SIZE: 12px; BACKGROUND-IMAGE: url(images/admin_bg_1.gif); COLOR: white; BACKGROUND-COLOR: #4455aa"
						align="left" height="25">
						<p align="center" style ="font-size :20px;">用户列表 </p>
					</th>
				</tr>
				<tr>
					<th id="Th1" style="FONT-WEIGHT: bold; FONT-SIZE: 12px; BACKGROUND-IMAGE: url(images/admin_bg_1.gif); COLOR: white; BACKGROUND-COLOR: #4455aa"
						align="left" height="25">
					&nbsp;查找用户:&nbsp;	<asp:textbox id="tbsearch" runat="server" Width="187px" MaxLength="25"></asp:textbox>&nbsp;&nbsp;&nbsp;&nbsp;
					工号：<asp:textbox id="tbUserLogin" runat="server" Width="187px" 
                            MaxLength="25"></asp:textbox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(支持模糊查询和精确查询)
									<asp:button id="btnsearch" runat="server" Text="查找" OnClick="btnsearch_Click" Width="70px"></asp:button>
					</th>
				</tr>
				<tr>
					<td class="forumRowHighlight" style="height: 12px">&nbsp;
					<table class="tableBorder" id="table1"  border="0"
					style="WIDTH: 100%">
		
					<TR>
					    
					    
						<TD class="Forumrow" width="10%" align="center"  style="height: 25px"><STRONG>员工工号</STRONG></TD>
						<TD class="Forumrow" align="center" width="10%" style="height: 25px"><STRONG>姓名</STRONG></TD>
						<TD class="Forumrow" align="center" width="10%" style="height: 25px"><STRONG>身份证</STRONG></TD>						
					    <TD class="Forumrow" align="center" width="5%" style="height: 25px"><STRONG>年龄</STRONG></TD>
					    <TD class="Forumrow" align="center" width="5%" style="height: 25px"><STRONG>性别</STRONG></TD>
					    <TD class="Forumrow" align="center" width="5%" style="height: 25px"><STRONG>婚否</STRONG></TD>
					    <TD class="Forumrow" align="center" width="10%" style="height: 25px"><STRONG>邮箱</STRONG></TD>
					    <TD class="Forumrow" align="center" width="8%" style="height: 25px"><STRONG>手机号码</STRONG></TD>
				        <TD class="Forumrow" align="center" width="8%" style="height: 25px"><STRONG>电话号码</STRONG></TD>
				        <TD class="Forumrow" align="center" width="6%" style="height: 25px"><STRONG>预约状态</STRONG></TD>
				         <TD class="Forumrow" align="center" width="5%" style="height: 25px"><STRONG>VIP</STRONG></TD>
						<TD class="Forumrow" align="center" width="10%" style="height: 25px"><STRONG>操作</STRONG></TD>
					
					</TR>
					<asp:Repeater id="Repeater1" runat="server">
						<ItemTemplate>
							<tr>
							
							<td class="Forumrow" width="10%" align="center" height="25"><%#Eval("UserLogin")%></td>
								<td class="Forumrow" width="10%" align="center"><%#Eval("UserName")%></td>
								<td class="Forumrow" width="10%" align="center"><%#Eval("UserIDCard")%></td>
								<td class="Forumrow" width="5%" align="center"><%#Eval("UserAge")%></td>
							    <td class="Forumrow" width="5%" align="center"><%#Eval("UserSex")%></td>
							    <td class="Forumrow" width="5%" align="center"><%#Eval("Marriage") %></td>
							    <td class="Forumrow" width="10%" align="center"><%#Eval("UserEmail")%></td>
                                <td class="Forumrow" width="8%" align="center"><%#Eval("HandsetNumber")%></td>
								<td class="Forumrow" width="8%" align="center"><%#Eval("TelephoneNumber")%></td>
								<td class="Forumrow" width="5%" align="center"><%#GetBookingStatus(Eval("userid").ToString())%></td>
								<td class="Forumrow" width="6%" align="center"><%#Eval("whetherVIP").ToString()=="0"?"否":"是"%></td>
								<td class="Forumrow" width="10%" height="25" align="center">	<a href='UserChanage.aspx?userId=<%#Eval("userId")%>' >
											编辑/查看</a></td>
							</tr>
						</ItemTemplate>
					</asp:Repeater>
					</table>
					
                    </td></tr>
                    <tr><td align="center" style="height: 27px">
                    <webdiyer:aspnetpager id="AspNetPager1" runat="server" horizontalalign="Center" onpagechanged="AspNetPager1_PageChanged"
        showcustominfosection="Left" width="95%" meta:resourceKey="AspNetPager1" 
                            style="font-size:14px" InputBoxStyle="width:19px"
        
                            CustomInfoHTML="共有<b><font color='red'>%RecordCount%</font></b>条记录 当前页<font color='red'><b>%CurrentPageIndex%/%PageCount%</b></font>   次序 %StartRecordIndex%-%EndRecordIndex%" 
                            AlwaysShow="True" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" 
                            PrevPageText="上一页" CustomInfoStyle="FONT-SIZE: 12px" PageSize="15"></webdiyer:aspnetpager>
                    </td></tr>
                    
				
					<TR>
						<TD class="forumRowHighlight" height="12" align="right">
                            &nbsp;&nbsp;&nbsp;
                    
                            
                    <a href="AddUserRole.aspx" target="_blank">添加用户</a>&nbsp;&nbsp;&nbsp;
							&nbsp;&nbsp;
						</table>
		</form>
	</BODY>
</HTML>